//
//  LotteryHallViewController.h
//  PlayBall
//
//  Created by Edward Zhang on 12-5-5.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "JddBaseViewController.h"
#import "JddLotteryHallItemTableCell.h"
#import "JddQuerySportLotteryIssueOperation.h"
#import "JddQueryUserInfoOperation.h"
#import "JddQueryLotteryHallOperation.h"
#import "JddQueryBasketBallSportLotteryIssueOperation.h"
#import "JddQueryBDIssueOperation.h"
#import "JddQueryVersionOperation.h"
#import "JddQuerySFCIssueOperation.h"
#import "JddQueryRX9IssueOperation.h"
#import "JddPickNum11YDJViewController.h"
#import "EGORefreshTableHeaderView.h"//后来加的
#import "JddSendUserUniqueIdentifierOperation.h"//zbj add
#import "JddAdOperation.h"

//------------------新加----------
#import "JddQueryLunBoInfoOperation.h"                        //请求轮播
#import "JddQuerycaizhonginfoOperation.h"                     //请求彩种
#import "JddQueryLotteryShopInfoOperation.h"                  //请求彩店
//删了下拉刷新的协议
@interface JddLotteryHallViewController : JddBaseViewController<UITableViewDelegate, UITableViewDataSource, LotteryHallItemTableCellDelegate,QueryUserInfoOperationDelegate,QuerySportLotteryIssueOperationDelegate,QueryLotteryHallOperationDelegate,UIAlertViewDelegate, UIAccelerometerDelegate,UIAlertViewDelegate,QueryBasketBallSportLotteryIssueOperationDelegate,QueryBDIssueOperationDelegate,QueryVersionOperationDelegate,QuerySFCIssueOperationDelegate,QueryRX9IssueOperationDelegate,SendUserUniqueIdentifierOperationDelegate,AdOperationDelegate,UIScrollViewDelegate,QueryLunBoInfoOperationDelegate,QuerycaizhonginfoOperationDelegate>{
@private
    //    JddLotteryHallItemTableCell      *shuangSeQiuCell;
    //    JddLotteryHallItemTableCell      *daLeTouCell;
    JddLotteryHallItemTableCell      *elevenSelectFiveCell;
    JddLotteryHallItemTableCell    *fc3dCell;
    //    JddLotteryHallItemTableCell    *pl3Cell;
    //    JddLotteryHallItemTableCell    *pl5Cell;
    //    JddLotteryHallItemTableCell    *n7lCell;
    JddLotteryHallItemTableCell *footballCell;
    JddLotteryHallItemTableCell *basketBallCell;
    //    JddLotteryHallItemTableCell *bdCell;
    //    JddLotteryHallItemTableCell    *n7xCell;
    //    LotteryHallItemTableCell    *n22x5Cell;
    //    JddLotteryHallItemTableCell    *sfcCell;
    //    JddLotteryHallItemTableCell    *rx9Cell;
    JddLotteryHallItemTableCell    *n11ydjCell;
        JddLotteryHallItemTableCell    *cqssCell;
    
    NSTimer      *countDownTimer;
    NSTimer      *countDownDltTimer;
    NSTimer      *countDownS5Timer, *countDown11YDJTimer, *countDownCQSSTimer;
    NSTimer *countDownFC3DTimer;
    NSTimer *countDownPL3Timer;
    NSTimer *countDownPL5Timer;
    NSTimer *countDown7ltimer;
    NSTimer     *countDown7xTimer;
    //    NSTimer     *countDown22x5Timer;
    NSTimer     *countDownsfcTimer;
    NSTimer     *countDownrx9Timer;
    NSDate       *endTime1;
    NSDate       *endTime2;
    NSDate       *endTime3, *endTime11ydj, *endTimecqss;
    NSDate       *fc3dET;
    NSDate  *pl3ET;
    NSDate  *pl5ET;
    NSDate  *endTime7l;
    NSDate  *endTime7x;
    //    NSDate  *endTime22x5;
    NSDate  *endTimesfc;
    NSDate  *endTimerx9;
    NSDate       *currentTime;
    NSDate       *currentTime2;
    NSDate       *currentTime3, *currentTime11ydj, *currentTimecqss;
    NSDate  *fc3dCT;
    NSDate  *pl3CT;
    NSDate  *pl5CT;
    NSDate  *currentTimer7l;
    NSDate  *currentTime7x;
    //    NSDate  *currentTimer22x5;
    NSDate  *currentTimersfc;
    NSDate  *currentTimerrx9;
    NSInteger     McountAll;
    NSString     *sResult;
    NSArray      *Matchs;
    BOOL         querystate;
    NSString *stringresult;
    NSMutableArray *realresult;//存放下载的数据
    NSMutableArray *dataArray;//存放去掉快三后的数据
    NSArray *resultvalue;
    
    NSString* downLoadURL;//zbj add
}

SHARED_VIEW_CONTROLLER_DECLARE(JddLotteryHallViewController);
@property (weak, nonatomic) IBOutlet UITableView *tableView;//－－－－自己加的这里－－－－
@property (strong, nonatomic) JddLotteryIssue *ssqLotteryIssue;
@property (strong, nonatomic) JddLotteryIssue *dltLotteryIssue;
@property (strong, nonatomic) JddLotteryIssue *selectFiveLotteryIssue;
@property (strong, nonatomic) JddLotteryIssue *fc3dIssue;
@property (strong, nonatomic) JddLotteryIssue *pl3Issue;
@property (strong, nonatomic) JddLotteryIssue *pl5Issue;
@property (strong, nonatomic) JddLotteryIssue *issue7l;
@property (strong, nonatomic) JddLotteryIssue *issue7x;
@property (strong, nonatomic) NSString *bdIssueID;
@property int count;


@end
